package pl.koziolekweb.budzet;

import org.apache.wicket.markup.html.WebPage;
import org.apache.wicket.markup.html.basic.Label;

import pl.koziolekweb.budzet.model.LoginModel;

public class WelcomePage extends WebPage {
	private LoginModel loginModel;

	public WelcomePage(LoginModel loginModel) {
		this.loginModel = loginModel;
		add(new Label("uid", loginModel.getUid()));
	}

	public WelcomePage() {
		add(new Label("uid", loginModel.getUid()));
	}
}
